package cn.wangdian.erp.sdk.api.sales;

import cn.wangdian.erp.sdk.api.sales.dto.TradeQueryRequest;
import cn.wangdian.erp.sdk.api.sales.dto.TradeQueryResponse;
import cn.wangdian.erp.sdk.Pager;
import cn.wangdian.erp.sdk.WdtErpException;
import cn.wangdian.erp.sdk.api.sales.dto.TradeQueryHistoryRequest;
import cn.wangdian.erp.sdk.api.sales.dto.TradeQueryHistoryResponse;
import cn.wangdian.erp.sdk.impl.Api;

public interface TradeAPI
{
	@Api(value = "sales.TradeQuery.queryWithDetail", paged = true)
    TradeQueryResponse query(TradeQueryRequest request, Pager pager);

	@Api(value = "sales.TradeQuery.queryHistoryWithDetail", paged = true)
	TradeQueryHistoryResponse queryHistory(TradeQueryHistoryRequest request, Pager pager) throws WdtErpException;
}
